$(function(){
    var sz=JSON.parse(localStorage.getItem("admin"));
    var e=sz[0].gwc.length-1;
    var s=sz[0].gwc[1].shouhuo.length-1;
    document.getElementById("name").innerHTML=sz[0].gwc[e].shouhuo[0].name;
    document.getElementById("phone").innerHTML=sz[0].gwc[e].shouhuo[0].phone;
    document.getElementById("dizhi").innerHTML=sz[0].gwc[e].shouhuo[0].dizhi;
    
    var gm="gomai";
    var g={name:"购买成功"};
    localStorage.setItem(gm,JSON.stringify(g));
})